package com.yst.shader.feature.shimmer

import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.yst.shader.ext.newContainer
import com.yst.shader.ext.pushFragment

/**
 * @author: xuyujian@ysten.com
 *  @date: 2020/8/28 15:16
 */
class ShimmerTestFragment :Fragment(){

    override fun onCreateView(
        inflater: LayoutInflater,
        container: ViewGroup?,
        savedInstanceState: Bundle?
    ): View = requireContext().newContainer {
        pushFragment("test shader", ShaderSimpleFragment())
        pushFragment("test shader view", ShaderTestFragment())
        pushFragment("test shimmer", ShimmerFaceBookFragment())
        pushFragment("test list shimmer shadow", RecycleShimmerFragment())
        pushFragment("test list only", RecycleShimmerFragment(true))
    }


}